How to call the same function sequentially with different arguments while using setTimeout()

welcome to shbcf.ru